package com.yanqu.road.entity.enums;

public enum eSpecialServerType {
	/**
	 * 普通服务器
	 */
	Original(0,"普通服务器"),

	/**
	 * 九龙城
	 */
	Kowloon(1,"九龙城"),

	/**
	 * 小当家
	 */
	CookBoy(2,"小当家"),

	/**
	 * 盗墓笔记
	 */
	DaoMu(3,"盗墓"),

	/**
	 * 甄嬛2.0
	 */
	ZhenHuan(4,"甄嬛"),

	/**
	 * 掌柜归来服
	 */
	ComeBack(5,"掌柜归来服"),

	IceServer(6, "寒冬汴梁"),
	;


	private int value;

	private String name;

	eSpecialServerType(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public int getValue() {
		return value;
	}

	public String getName() {
		return name;
	}

	public static eSpecialServerType forValue(int value) {
		for (eSpecialServerType type : eSpecialServerType.values()) {
			if (type.value == value) {
				return type;
			}
		}
		return null;
	}
}
